#ifndef ALGHELPER_H
#define ALGHELPER_H

#include <QList>
#include <QString>
#include "cv.h"

#include "videosourcesetting.h"

class algHelper
{
public:
    algHelper();
    static QString cvtPointList2Text(QList<CvPoint> listPoint);
    static QList<CvPoint> cvtText2PointList(QString listPointText);
    static QString cvtEVideoSourceType2String(IVS::eVideoSourceType vsType);
    static IVS::eVideoSourceType cvtIndex2eVideoSourceType(int e);
};

#endif // ALGHELPER_H
